package com.ftg.learn.mall.service;

import com.ftg.learn.mall.entity.PmsSkuStock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ftg.learn.util.ResEntity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 * sku的库存 服务类
 * </p>
 *
 * @author mallCommon
 * @since 2022-04-19
 */
public interface IPmsSkuStockService extends IService<PmsSkuStock> {

    /**
     * 批量更新sku库存信息
     * @param skuStockList
     * @return
     */
    boolean updateSku(List<PmsSkuStock> skuStockList);

}
